<script setup>
defineProps({
  img: {
    type: String,
    default() {
      return ''
    }
  },
  title: {
    type: String,
    default() {
      return 'title'
    }
  },
  content: {
    type: String,
    default() {
      return 'content'
    }
  }
})
</script>

<template>
  <div class="minbox-letter">
    <div style="display: flex; justify-content: center; width: 100%">
      <div
        class="minbox-letter-content"
        style="
          display: flex;
          justify-content: center;
          width: 100%;
          transition: all 0.3s;
        "
      >
        <div class="left">
          <img :src="img" alt="" />
        </div>
        <div style="width: 10px"></div>
        <div class="right">
          <div class="title">{{ title }}</div>
          <div style="height: 10px"></div>
          <div class="content">{{ content }}</div>
        </div>
      </div>
    </div>
  </div>
</template>
<style scoped lang="scss">
.minbox-letter {
  display: flex;
  align-items: center;
  .left {
    img {
      width: 40px;
      height: 40px;
    }
  }
  .right {
    display: flex;
    flex-direction: column;
    width: 60px;
    .title {
      font-size: 12px;
    }
    .content {
      font-size: 20px;
    }
  }
}
</style>
